<#-- TODO 改为实际使用的包名 -->
package ${basePackageName}.bean ;

import e.odbo.data.bean.BaseBean;

<#list importInterfaces as importInterface>
import ${importInterface};
</#list>

<#list importBeanClass as importClass>
import ${importClass};
</#list>

/**
 * ${comment!""}
 * @desc    使用代码生成器生成.
 * @date    ${.now?string("yyyy/MM/dd")}
 */

public class ${className} extends BaseBean
<String> ${implementStr} {
<#list columns as column>
    <#if column.propertyName != "id"&&column.propertyName != "lastModified"&&column.propertyName != "createDate">
        <#assign autograph = "public static String " + column.propertyName?upper_case + " = \"" + column.propertyName + " \";">
    </#if>
    <#assign autograph = "private " + column.propertyType + " " + column.propertyName + " ;">

    ${autograph}<#if (column.columnComment?? && column.columnComment?length > 0)><#if (autograph?length < 4)>${"\t\t\t\t\t\t\t\t\t\t"}<#elseif (autograph?length < 8)>${"\t\t\t\t\t\t\t\t\t"}<#elseif (autograph?length < 12)>${"\t\t\t\t\t\t\t\t"}<#elseif (autograph?length < 16)>${"\t\t\t\t\t\t\t"}<#elseif (autograph?length < 20)>${"\t\t\t\t\t\t"}<#elseif (autograph?length < 24)>${"\t\t\t\t\t"}<#elseif (autograph?length < 28)>${"\t\t\t\t"}<#elseif (autograph?length < 32)>${"\t\t\t"}<#elseif (autograph?length < 36)>${"\t\t"}<#else>${"\t"}</#if>
    // ${column.columnComment}</#if>

</#list>
<#list columns as column>

	public void set${column.propertyName?cap_first} (${column.propertyType} ${column.propertyName}){
		this.${column.propertyName} = ${column.propertyName} ;
	}

	public ${column.propertyType} get${column.propertyName?cap_first} (){
		return this.${column.propertyName} ;
	}
</#list>

    @Override
    public String getKey() {
    return id;
    }

    @Override
    public void setKey(String key) {
    this.id = key;

    }
    }